﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TimeTracker.SqlLiteProvider
{
    public partial class Project : IProject
    {
        string IProject.Name
        {
            get
            {
                return this.Name;
            }
            set
            {
                this.Name = value;
            }
        }

        IEnumerable<ISession> IProject.Sessions
        {
            get { return this.Sessions.Cast<ISession>(); }
        }

        IEnumerable<IProject> IProject.Projects
        {
            get { return this.Projects.Cast<IProject>(); }
        }

        IProject IProject.Project
        {
            get { return this.ParentProject; }
        }

        int IComparable.CompareTo(object obj)
        {
            throw new NotImplementedException();
        }
    }
}
